package config;



import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import xiang.aop.MyTestAop;
import xiang.bean.Person;

@Configuration
//@EnableAspectJAutoProxy
public class MyApplicationConfig {

	@Bean
	public MyTestAop myTestAop(){
		return new MyTestAop();
	}

	@Bean
	public Person person(){
		return new Person();
	}
}
